package com.cskaoyan.market.vo.wx.lhh;

import com.cskaoyan.market.util.ResponseUtil;
import lombok.Data;
import lombok.NonNull;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Size;

/**
 * @ClassName RegisterUserVo
 * @Description
 * @Author MZ
 * @Date 2023/5/21 0:17
 */
@Data
public class RegisterUserVo {
    @Length(min = 6, max = 20, message = "用户名必须在6位至20位之间")
    @NonNull
    private String username;
    @Length(min = 6, max = 20, message = "密码必须要求在8位至20位之间")
    @NonNull
    private String password;
    @Length(max = 11, min = 11, message = "{\"errno\":707,\"errmsg\":\"手机号格式不正确\"}")
    private String mobile;
    @NonNull
    private String code;
    private String wxCode;
}
